package com.yoso.springcloud.service.fallback;

import com.yoso.springcloud.service.PaymentHystrixService;
import org.springframework.stereotype.Component;

/**
 * @author shizejin
 * @date 2021/10/19
 * @description:
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService {
    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "服务器繁忙，请稍后再试";
    }

    @Override
    public String paymentInfo_OK(Integer id) {
        return "服务器繁忙，请稍后再试";
    }
}
